<# # It is recommended to test the script on a local machine for its purpose and effects. # ManageEngine Endpoint Central will not be responsible for any # damage/loss to the data/setup based on the behavior of the script. # Description: Script is designed to fetch all scheduled tasks running under the machine # Configuration Type - COMPUTER #> # Fetch and display all scheduled tasks Get-ScheduledTask | ForEach-Object { Write-Output "Task Name: $($_.TaskName), State: $($_.State)" }